/**
 * Project Name:fire-industry-DM-center
 * File Name:WeightJson.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月8日下午5:05:39
 *
*/

package com.firestone.bean.entity.elasticsearch.nested;

import java.io.Serializable;

import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Description: TODO(各字段更改记录实体)
 * @author CAIYJ
 * @date 2018年4月8日 下午5:05:39
 */
public class WeightJson implements Serializable {

    private static final long serialVersionUID = 1L;

    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String add_time;

    /**
     * @Fields field : TODO(字段)
     */
    @Field(type = FieldType.keyword)
    private String field;

    /**
     * @Fields field : TODO(信息md5值)
     */
    @Field(type = FieldType.keyword)
    private String info_md5;

    /**
     * @Fields field : TODO(来源ID)
     */
    @Field(type = FieldType.keyword)
    private String source_id;

    /**
     * @Fields update_time : TODO(更新时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String update_time;

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getInfo_md5() {
        return info_md5;
    }

    public void setInfo_md5(String info_md5) {
        this.info_md5 = info_md5;
    }

    public String getSource_id() {
        return source_id;
    }

    public void setSource_id(String source_id) {
        this.source_id = source_id;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
